import { ConvertAction } from '../../interface';

export const G2RULES: ConvertAction[] = [
  {
    type: 'name',
    name: 'bar',
    rules: [
      { type: 'name', value: 'g2-bar' },
    ],
  },
  {
    type: 'name',
    name: 'mini-bar',
    rules: [
      { type: 'name', value: 'g2-mini-bar' },
    ],
  },
  {
    type: 'name',
    name: 'chart-card',
    rules: [
      { type: 'name', value: 'g2-card' },
    ],
  },
  {
    type: 'name',
    name: 'chart',
    rules: [
      { type: 'name', value: 'g2-chart' },
    ],
  },
  {
    type: 'name',
    name: 'gauge',
    rules: [
      { type: 'name', value: 'g2-gauge' },
    ],
  },
  {
    type: 'name',
    name: 'mini-area',
    rules: [
      { type: 'name', value: 'g2-mini-area' },
    ],
  },
  {
    type: 'name',
    name: 'mini-progress',
    rules: [
      { type: 'name', value: 'g2-mini-progress' },
    ],
  },
  {
    type: 'name',
    name: 'pie',
    rules: [
      { type: 'name', value: 'g2-pie' },
    ],
  },
  {
    type: 'name',
    name: 'radar',
    rules: [
      { type: 'name', value: 'g2-radar' },
    ],
  },
  {
    type: 'name',
    name: 'tag-cloud',
    rules: [
      { type: 'name', value: 'g2-tag-cloud' },
    ],
  },
  {
    type: 'name',
    name: 'water-wave',
    rules: [
      { type: 'name', value: 'g2-water-wave' },
    ],
  },
  {
    type: 'name',
    name: 'timeline',
    rules: [
      { type: 'name', value: 'g2-timeline' },
    ],
  },
];
